﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000033 RID: 51
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ActivityRaidPlacingGameCsReq : IMessage<ActivityRaidPlacingGameCsReq>, IMessage, IEquatable<ActivityRaidPlacingGameCsReq>, IDeepCloneable<ActivityRaidPlacingGameCsReq>, IBufferMessage
	{
		// Token: 0x17000098 RID: 152
		// (get) Token: 0x06000231 RID: 561 RVA: 0x00007638 File Offset: 0x00005838
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ActivityRaidPlacingGameCsReq> Parser
		{
			get
			{
				return ActivityRaidPlacingGameCsReq._parser;
			}
		}

		// Token: 0x17000099 RID: 153
		// (get) Token: 0x06000232 RID: 562 RVA: 0x0000763F File Offset: 0x0000583F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ActivityRaidPlacingGameCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700009A RID: 154
		// (get) Token: 0x06000233 RID: 563 RVA: 0x00007651 File Offset: 0x00005851
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ActivityRaidPlacingGameCsReq.Descriptor;
			}
		}

		// Token: 0x06000234 RID: 564 RVA: 0x00007658 File Offset: 0x00005858
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityRaidPlacingGameCsReq()
		{
		}

		// Token: 0x06000235 RID: 565 RVA: 0x00007660 File Offset: 0x00005860
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityRaidPlacingGameCsReq(ActivityRaidPlacingGameCsReq other) : this()
		{
			this.lOIFAMMMPNE_ = ((other.lOIFAMMMPNE_ != null) ? other.lOIFAMMMPNE_.Clone() : null);
			ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase omhopcbcedecase = other.OMHOPCBCEDECase;
			if (omhopcbcedecase != ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase.HDCEPMKIMMG)
			{
				if (omhopcbcedecase == ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase.BJBPKKOPBMC)
				{
					this.BJBPKKOPBMC = other.BJBPKKOPBMC;
				}
			}
			else
			{
				this.HDCEPMKIMMG = other.HDCEPMKIMMG;
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000236 RID: 566 RVA: 0x000076CB File Offset: 0x000058CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityRaidPlacingGameCsReq Clone()
		{
			return new ActivityRaidPlacingGameCsReq(this);
		}

		// Token: 0x1700009B RID: 155
		// (get) Token: 0x06000237 RID: 567 RVA: 0x000076D3 File Offset: 0x000058D3
		// (set) Token: 0x06000238 RID: 568 RVA: 0x000076DB File Offset: 0x000058DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AlleyPlacingShip LOIFAMMMPNE
		{
			get
			{
				return this.lOIFAMMMPNE_;
			}
			set
			{
				this.lOIFAMMMPNE_ = value;
			}
		}

		// Token: 0x1700009C RID: 156
		// (get) Token: 0x06000239 RID: 569 RVA: 0x000076E4 File Offset: 0x000058E4
		// (set) Token: 0x0600023A RID: 570 RVA: 0x000076FB File Offset: 0x000058FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BJBPKKOPBMC
		{
			get
			{
				if (!this.HasBJBPKKOPBMC)
				{
					return 0U;
				}
				return (uint)this.oMHOPCBCEDE_;
			}
			set
			{
				this.oMHOPCBCEDE_ = value;
				this.oMHOPCBCEDECase_ = ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase.BJBPKKOPBMC;
			}
		}

		// Token: 0x1700009D RID: 157
		// (get) Token: 0x0600023B RID: 571 RVA: 0x00007711 File Offset: 0x00005911
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HasBJBPKKOPBMC
		{
			get
			{
				return this.oMHOPCBCEDECase_ == ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase.BJBPKKOPBMC;
			}
		}

		// Token: 0x0600023C RID: 572 RVA: 0x0000771D File Offset: 0x0000591D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearBJBPKKOPBMC()
		{
			if (this.HasBJBPKKOPBMC)
			{
				this.ClearOMHOPCBCEDE();
			}
		}

		// Token: 0x1700009E RID: 158
		// (get) Token: 0x0600023D RID: 573 RVA: 0x0000772D File Offset: 0x0000592D
		// (set) Token: 0x0600023E RID: 574 RVA: 0x00007744 File Offset: 0x00005944
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HDCEPMKIMMG
		{
			get
			{
				if (!this.HasHDCEPMKIMMG)
				{
					return 0U;
				}
				return (uint)this.oMHOPCBCEDE_;
			}
			set
			{
				this.oMHOPCBCEDE_ = value;
				this.oMHOPCBCEDECase_ = ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase.HDCEPMKIMMG;
			}
		}

		// Token: 0x1700009F RID: 159
		// (get) Token: 0x0600023F RID: 575 RVA: 0x0000775A File Offset: 0x0000595A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HasHDCEPMKIMMG
		{
			get
			{
				return this.oMHOPCBCEDECase_ == ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase.HDCEPMKIMMG;
			}
		}

		// Token: 0x06000240 RID: 576 RVA: 0x00007766 File Offset: 0x00005966
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearHDCEPMKIMMG()
		{
			if (this.HasHDCEPMKIMMG)
			{
				this.ClearOMHOPCBCEDE();
			}
		}

		// Token: 0x170000A0 RID: 160
		// (get) Token: 0x06000241 RID: 577 RVA: 0x00007776 File Offset: 0x00005976
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase OMHOPCBCEDECase
		{
			get
			{
				return this.oMHOPCBCEDECase_;
			}
		}

		// Token: 0x06000242 RID: 578 RVA: 0x0000777E File Offset: 0x0000597E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearOMHOPCBCEDE()
		{
			this.oMHOPCBCEDECase_ = ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase.None;
			this.oMHOPCBCEDE_ = null;
		}

		// Token: 0x06000243 RID: 579 RVA: 0x0000778E File Offset: 0x0000598E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ActivityRaidPlacingGameCsReq);
		}

		// Token: 0x06000244 RID: 580 RVA: 0x0000779C File Offset: 0x0000599C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ActivityRaidPlacingGameCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.LOIFAMMMPNE, other.LOIFAMMMPNE) && this.BJBPKKOPBMC == other.BJBPKKOPBMC && this.HDCEPMKIMMG == other.HDCEPMKIMMG && this.OMHOPCBCEDECase == other.OMHOPCBCEDECase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000245 RID: 581 RVA: 0x0000780C File Offset: 0x00005A0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.lOIFAMMMPNE_ != null)
			{
				num ^= this.LOIFAMMMPNE.GetHashCode();
			}
			if (this.HasBJBPKKOPBMC)
			{
				num ^= this.BJBPKKOPBMC.GetHashCode();
			}
			if (this.HasHDCEPMKIMMG)
			{
				num ^= this.HDCEPMKIMMG.GetHashCode();
			}
			num ^= (int)this.oMHOPCBCEDECase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000246 RID: 582 RVA: 0x00007883 File Offset: 0x00005A83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000247 RID: 583 RVA: 0x0000788B File Offset: 0x00005A8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000248 RID: 584 RVA: 0x00007894 File Offset: 0x00005A94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.lOIFAMMMPNE_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.LOIFAMMMPNE);
			}
			if (this.HasHDCEPMKIMMG)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.HDCEPMKIMMG);
			}
			if (this.HasBJBPKKOPBMC)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.BJBPKKOPBMC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000249 RID: 585 RVA: 0x0000790C File Offset: 0x00005B0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.lOIFAMMMPNE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LOIFAMMMPNE);
			}
			if (this.HasBJBPKKOPBMC)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BJBPKKOPBMC);
			}
			if (this.HasHDCEPMKIMMG)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HDCEPMKIMMG);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600024A RID: 586 RVA: 0x0000797C File Offset: 0x00005B7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ActivityRaidPlacingGameCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.lOIFAMMMPNE_ != null)
			{
				if (this.lOIFAMMMPNE_ == null)
				{
					this.LOIFAMMMPNE = new AlleyPlacingShip();
				}
				this.LOIFAMMMPNE.MergeFrom(other.LOIFAMMMPNE);
			}
			ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase omhopcbcedecase = other.OMHOPCBCEDECase;
			if (omhopcbcedecase != ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase.HDCEPMKIMMG)
			{
				if (omhopcbcedecase == ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase.BJBPKKOPBMC)
				{
					this.BJBPKKOPBMC = other.BJBPKKOPBMC;
				}
			}
			else
			{
				this.HDCEPMKIMMG = other.HDCEPMKIMMG;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600024B RID: 587 RVA: 0x000079FB File Offset: 0x00005BFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600024C RID: 588 RVA: 0x00007A04 File Offset: 0x00005C04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 82U)
				{
					if (num != 88U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.BJBPKKOPBMC = input.ReadUInt32();
						}
					}
					else
					{
						this.HDCEPMKIMMG = input.ReadUInt32();
					}
				}
				else
				{
					if (this.lOIFAMMMPNE_ == null)
					{
						this.LOIFAMMMPNE = new AlleyPlacingShip();
					}
					input.ReadMessage(this.LOIFAMMMPNE);
				}
			}
		}

		// Token: 0x040000BC RID: 188
		private static readonly MessageParser<ActivityRaidPlacingGameCsReq> _parser = new MessageParser<ActivityRaidPlacingGameCsReq>(() => new ActivityRaidPlacingGameCsReq());

		// Token: 0x040000BD RID: 189
		private UnknownFieldSet _unknownFields;

		// Token: 0x040000BE RID: 190
		public const int LOIFAMMMPNEFieldNumber = 10;

		// Token: 0x040000BF RID: 191
		private AlleyPlacingShip lOIFAMMMPNE_;

		// Token: 0x040000C0 RID: 192
		public const int BJBPKKOPBMCFieldNumber = 15;

		// Token: 0x040000C1 RID: 193
		public const int HDCEPMKIMMGFieldNumber = 11;

		// Token: 0x040000C2 RID: 194
		private object oMHOPCBCEDE_;

		// Token: 0x040000C3 RID: 195
		private ActivityRaidPlacingGameCsReq.OMHOPCBCEDEOneofCase oMHOPCBCEDECase_;

		// Token: 0x0200153E RID: 5438
		public enum OMHOPCBCEDEOneofCase
		{
			// Token: 0x04005FB8 RID: 24504
			None,
			// Token: 0x04005FB9 RID: 24505
			BJBPKKOPBMC = 15,
			// Token: 0x04005FBA RID: 24506
			HDCEPMKIMMG = 11
		}
	}
}
